package com.gxa.uhome.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: XHZ
 * @Date: 16:07 2021/6/5
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Material物料信息实体类")
public class Material implements Serializable {
    @ApiModelProperty(name = "id", value = "物料id")
    private Integer id;
    @ApiModelProperty(name = "name", value = "物料名称")
    private String name;
    @ApiModelProperty(name = "stock", value = "物料库存")
    private Integer stock;
    @ApiModelProperty(name = "unit", value = "单位")
    private String unit;
    @ApiModelProperty(name = "singleCost", value = "单个成本")
    private Double singleCost;
    @ApiModelProperty(name = "unitPrice", value = "单价")
    private Double unitPrice;
    @ApiModelProperty(name = "totalCost", value = "总成本")
    private Double totalCost;
    @ApiModelProperty(name = "stationId", value = "所属站点id")
    private Integer stationId;
    @ApiModelProperty(name = "type", value = "箱子型号")
    private String type;
    private List<Station> stationList;
}
